Search


ใครเบื่อ database ยี่ห้อดังๆๆๆ
อยากลอง...

  • Share this:


ใครเบื่อ database ยี่ห้อดังๆๆๆ
อยากลองสร้างฐานข้อมูล ( database) ง่ายๆ ใช้เองส่วนตัว
รองรับภาษา SQL อ่านติวเตอร์นี้ได้เลยครับ ตัวอย่างเป็นภาษา C นะ
สถาปัตยกรรมจะใช้แบบเดียวกับ SQLite
https://cstack.github.io/db_tutorial/

เนื้อหามี 13 บท
Part 1 - Introduction and Setting up the REPL
Part 2 - World’s Simplest SQL Compiler and Virtual Machine
Part 3 - An In-Memory, Append-Only, Single-Table Database
Part 4 - Our First Tests (and Bugs)
Part 5 - Persistence to Disk
Part 6 - The Cursor Abstraction
Part 7 - Introduction to the B-Tree
Part 8 - B-Tree Leaf Node Format
Part 9 - Binary Search and Duplicate Keys
Part 10 - Splitting a Leaf Node
Part 11 - Recursively Searching the B-Tree
Part 12 - Scanning a Multi-Level B-Tree
Part 13 - Updating Parent Node After a Split


Tags:

About author
เพจนี้เปิดใช้งานเมื่อ 22 มิถุนายน 2014 เพจนี้เน้นหนักไป ทางการเขียนโปรแกรม คอมพิวเตอร์ และไอที ล้วน ๆ แบบฮาร์ดคอ หรือจะไร้สาระ มุกตลกขำ
ให้สาระด้านไอที คอมพิวเตอร์ และอาชีพโปรแกรมเมอร์ และสายงานด้านคอมพิวเตอร์
View all posts